DS1921G
Thermochron iButton Device
Control Register Map
ADDRESS
020Eh
BIT 7
EOSC
BIT 6
EMCLR
BIT 5
0
BIT 4
EM
BIT 3
RO
BIT 2
TLS
BIT 1
THS
BIT 0
TAS
Control Register
The DS1921G is set up for its operation by writing
appropriate data to its special function registers that
are located in the register page. Several functions that
are controlled by a single bit only are combined into a
single byte called the Control register (address 020Eh).
This register can be read and written. If the device is
programmed for a mission, writing to the Control regis-
ter ends the mission and changes the register contents.
The functional assignments of the individual bits are
explained below. Bit 5 has no function. It always reads
0 and cannot be written to 1.
Bit 7: Enable Oscillator ( EOSC ). This bit controls the
crystal oscillator of the RTC. When set to logic 0, the
oscillator starts operation. When written to logic 1, the
oscillator stops and the device is in a low-power data-
retention mode. This bit must be 0 for normal opera-
tion. The RTC must have advanced at least 1 second
before a Mission Start is accepted.
Bit 6: Memory Clear Enable (EMCLR). This bit needs
to be set to logic 1 to enable the Clear Memory func-
tion, which is invoked as a memory function command.
The timestamp, histogram memory as well as the
Mission Timestamp, Mission Samples Counter, Mission
Start Delay, and Sample Rate are cleared only if the
Clear Memory command is issued with the next
access to the device . The EMCLR bit returns to 0 as
the next memory function command is executed.
Bit 4: Enable Mission ( EM ). This bit controls whether
the DS1921G begins a mission as soon as the sample
rate is written. To enable the device for a mission, this
bit must be 0.
Bit 3: Rollover Enable/Disable (RO). This bit controls
whether the data-log memory is overwritten with new
data or whether data logging is stopped once the mem-
ory is filled with data during a mission. Setting this bit to
a 1 enables the rollover and data logging continues at
the beginning, overwriting previously collected data.
Clearing this bit to 0 disables the rollover and no further
14
temperature values are stored in the data-log memory
once it is filled with data. This does not stop the mis-
sion. The device continues measuring temperatures
and updating the histogram and alarm timestamps and
durations.
Bit 2: Temperature Low Alarm Search (TLS). If this
bit is 1, the device responds to a Conditional Search
ROM command if, during a mission, the temperature
has reached or is lower than the Low Temperature
Threshold stored at address 020Bh.
Bit 1: Temperature High Alarm Search (THS). If this
bit is 1, the device responds to a Conditional Search
ROM command if, during a mission, the temperature
has reached or is higher than the High Temperature
Threshold stored at address 020Ch.
Bit 0: Timer Alarm Search (TAS). If this bit is 1, the
device responds to a Conditional Search ROM com-
mand if, during a mission, a timer alarm has occurred.
Since a timer alarm cannot be disabled, the TAF flag
usually reads 1 during a mission. Therefore, it is advis-
able to set the TAS bit to a 0, in most cases.
Mission Start Delay Counter
The content of the Mission Start Delay Counter register
determines how many minutes the device waits before
starting the logging process. The Mission Start Delay
value is stored as an unsigned 16-bit integer number at
addresses 0212h (low byte) and 0213h (high byte). The
maximum delay is 65,535 minutes, equivalent to 45
days, 12 hours, and 15 minutes.
For a typical mission, the Mission Start Delay is 0. If a
mission is too long for a single DS1921G to store all
temperature readings at the selected sample rate, one
can use several devices, staggering the Mission Start
Delay to record the full period. In this case, the rollover
enable (RO) bit in the Control register (address 020Eh)
must be set to 0 to prevent overwriting of the recorded
temperature log after the data-log memory is full. See
the Mission Start and Logging Process section and
Figure 11 for details.
Maxim Integrated
相关PDF资料
DS1921H-F5# IBUTTON THERMOCHRON F5
DS1921K# KIT IBUTTON THERMOCHRON
DS1922E-F5# IBUTTON TEMP LOGGER 4KBit F5
DS1922L-F5# IBUTTON TEMP LOGGER
DS1923-F5# IBUTTON TEMP/HUMIDITY LOGGER F5
DS1961S-F3# IBUTTON EEPROM 1KBit F3
DS1963S-F5+ IBUTTON MONETARY SHA-1
DS1971-F3+ IBUTTON EEPROM 256KBIT F3
相关代理商/技术参数
DS1921G-F5#W 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1921G-F5/A0C 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1921G-F5/A12 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1921G-F5/A12-W 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1921G-F5/A14 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1921G-F5/A15 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1921G-F5/A17 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1921G-F5/A1B 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated